package com.inspection.model.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.inspection.constant.EventApproveStatusEnum;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author zhaoqi
 * @since 2020-11-09
 */
@Data
public class InspectionEventDTO {


    private Long id;

    private List<Long> idList;

    /**
     * 考核执行的部门
     */
    private Long executeDept;
    /**
     * 支部id
     */
    private Long inspectBranch;

    /**
     * 被考核的部门集合
     */
    private List<Long> inspectDeptList;
    /**
     * 事件发生日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date eventCreateDate;
    /**
     * 事件考核日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date eventInspectDate;
    /**
     * 事件内容

     */
    private String eventContent;
    /**
     * 考核分数
     */
    private Integer inspectScore;
    /**
     * 考核说明
     */
    private String inspectDesc;
    /**
     * 考核条例id
     */
    private Long regulationId;
    private Date dateCreate;


    /**
     * 考核类型
     */
    private String inspectionType;

    private String remark;


    /**
     * @see EventApproveStatusEnum
     *
     */
    private Integer approveStatus;//审核状态




}
